	<?php
	
	// Global Variables
	define("APP_NAME","Simple Joo Location");
	define("APP_DESCRIPTION","A simple Joo Location for Mobile");
	define("APP_KEYWORDS","joo, mobile, location");
	define("PASSWORD_SALT","justkidding");
	define("CACHE_ENABLE",true);
	define("BASE_DIR",dirname(dirname(__FILE__)));
	define("LIB_DIR",dirname(__FILE__));
	define("LOGS_DIR",dirname(__FILE__));
	define("LOGS_DEFAULT_FILE","log.txt");
	
	// Be sure to set these!
	define("BASE_URL","http://localhost/daisy/");
	define("STATIC_URL","http://localhost/daisy/static/");
	define("COOKIE_DOMAIN","localhost");
	
	// Database Config
	define('DB_SERVER','localhost');
	define('DB_DBNAME','daisyfishing_daisy');
	define('DB_USERNAME','root');
	define('DB_PASSWORD','griever');
	
	//some weird constants?
	define('PW_MIN_LENGTH', 6);
	define('PW_MAX_LENGTH', 32);
	
	define('DEBUG_MODE',0);
	
	if (DEBUG_MODE==1){
		ini_set('display_errors', 'Off');
		ini_set('display_startup_errors', 'Off');
	}else{
		ini_set('display_errors', 'On');
		ini_set('display_startup_errors', 'On');
	}
	error_reporting(E_ALL);
//	session_save_path(BASE_DIR.'/logs/sessions');
